/*
 * @Author: liuxiang
 * @Date: 2022-01-10 14:36:41
 * @LastEditors: liuxiang
 * @LastEditTime: 2022-01-20 15:48:31
 * @Description: file content
 */
import Vue from "vue";
import Router from "vue-router";

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/",
      name: "landing-page",
      component: require("@/components/LandingPage").default,
    },
    {
      path: "/recording",
      name: "recording",
      component: require("@/components/Recording").default,
    },
    {
      path: "*",
      redirect: "/",
    },
  ],
});
